package com.example.a429;

public class MessageItem {
    private int avatarResId;
    private String name;
    private String message;
    private String time;
    private int unreadCount;
    private boolean isSystemNotification;

    public MessageItem(int avatarResId, String name, String message, String time, int unreadCount, boolean isSystemNotification) {
        this.avatarResId = avatarResId;
        this.name = name;
        this.message = message;
        this.time = time;
        this.unreadCount = unreadCount;
        this.isSystemNotification = isSystemNotification;
    }

    // Getters
    public int getAvatarResId() { return avatarResId; }
    public String getName() { return name; }
    public String getMessage() { return message; }
    public String getTime() { return time; }
    public int getUnreadCount() { return unreadCount; }
    public boolean isSystemNotification() { return isSystemNotification; }
}